package com.linwen.javase.desgin_pattern.BigTalkDesignPattenJAVACode._19命令模式._1基本代码;

//抽象命令类
abstract class Command {
    protected Receiver receiver;

    public Command(Receiver receiver){
        this.receiver = receiver;
    }
    //执行命令
    public abstract void excuteCommand();
}